package com.kgcx.common.client.organization;

import com.kgcx.common.client.organization.pojo.City;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "organization")
public interface CityClient {
    @GetMapping("city/getCityList")
    List<City> getCityList(@RequestParam("cityId") Long cityId);
}
